#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QPixmap>
#include <QMessageBox>
#include "qmydatabase.h"
#include "login.h"
#include "menu.h"

QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

public:

private slots:
    void on_comboBox_currentTextChanged(const QString &arg1);
    // void mainwindowShow(MainWindow * arg);

    void on_pushButton_clicked();

private:
    Ui::MainWindow *ui;
    MyDatabase * database;
    login * loginwidget;
    game * menuwidget;
};
#endif // MAINWINDOW_H
